package org.itboys.mobile.service.mysql.mobile.product;

import org.itboys.mdl.conmon.Finals;
import org.itboys.mobile.entity.mysql.product.SundayProduct;

import org.itboys.mobile.entity.mysql.product.SundayProductCategory;
import org.itboys.mongodb.service.BaseMySqlService;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 联系方式 ：empty90911@126.com
 * 描述：圣代_商品_service_mobile
 */
@Service
public class SundayMobileProductCategoryService extends BaseMySqlService<SundayProductCategory> {
    /**
     *获取分类
     * @param request
     */
    public List<SundayProductCategory> selectProductCategory(HttpServletRequest request){
       Map<String,Object> param=new HashMap<String,Object>();
       param.put("parentId", Finals.NO);
       return super.select(param);
    }
}
